import {
    get,
    post,
    //postForm,
} from '@/utils/http'
const packageName = `/back-api`

/**
 * 过滤子系统
 */
// 获取全部控制分组单元（基地id）
export function getControlDeviceGroupUnits(params) {
    return get(`${packageName}/controlDevice/getControlDeviceGroupUnits`, params)
}
// 获取全部队列情况(基地id)
export function getControlDevices(params) {
    return get(`${packageName}/controlDevice/getControlDevices`, params)
}
// 下发控制分组单元命令
export function cmdControlDeviceGroupUnit(params) {
    return post(`${packageName}/controlDevice/cmdControlDeviceGroupUnit`, params)
}
// 获取历史数据列表
export function getDataHisUnitList(params) {
    return post(`${packageName}/controlDevice/getDataHisUnitList`, params)
}
// 获取全部设备状态(基地id)
export function getControlDeviceStatuss(params) {
    return get(`${packageName}/controlDeviceStatus/getControlDeviceStatuss`, params)
}